package com.cy.service.impl;

import com.cy.service.AccountService;
import lombok.Setter;

import java.util.*;

/**
 * @Author : 残影
 * @Date: 2021-03-09 10:42
 */
@Setter
public class AccountServiceImpl3 implements AccountService {
    /**
     * 如果是经常变化的数据，并不适用于注入的方式
     */
    private String[] myStrs;
    private List<String> myList;
    private Set<String> mySet;
    private Map<String,String> myMap;
    private Properties myProps;

    @Override
    public void  saveAccount(){
        System.out.println(Arrays.toString(myStrs));
        System.out.println(myList);
        System.out.println(mySet);
        System.out.println(myMap);
        System.out.println(myProps);
    }
}
